package com.ftp.web.spider.dao;

import com.ftp.web.spider.entity.FileInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FileInfoDao {

   void insertInfo(@Param("fileInfos") List<FileInfo> fileInfos);

   void insertOneInfo(@Param("fileInfo")FileInfo fileInfo);

   List<FileInfo> query();
}
